﻿using System;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;
using System.Collections.Generic;

namespace AzukiMap.MapSource
{
    public class KaMapTiles : TileSource
    {
        List<string> _layers;
        List<string> _groups;

        public List<string> Groups
        {
            get { return _groups; }
            set { _groups = value; }
        }

        public List<string> Layers
        {
            get { return _layers; }
            set { _layers = value; }
        }

        public KaMapTiles(string mapName, List<string> baseUris, int srid, CoordinationUnits coordUnit, 
            int tileWidth, int tileHeight, List<double> scales, int dpi)
            : base(mapName, baseUris, srid, coordUnit, tileWidth, tileHeight, scales, dpi)
        {
            _layers = new List<string>();
            _groups = new List<string>();
        }

        public KaMapTiles(string mapName, List<string> baseUris, int srid, CoordinationUnits coordUnit, 
            int tileWidth, int tileHeight, List<double> scales, int dpi,
            List<string> layerNames, List<string> groupNames)
            : base(mapName, baseUris, srid, coordUnit, tileWidth, tileHeight, scales, dpi)
        {
            _layers = layerNames;
            _groups = groupNames;
        }

    }
}
